import type { App } from 'vue'
import SvgIcon from '@/components/base/SvgIcon/index.vue'

/**
 * 注册SvgIcon全局组件和加载svg图标
 * @param app Vue实例
 */
export function setupSvgIcon(app: App) {
  // 注册全局组件
  app.component('SvgIcon', SvgIcon)
} 